package org.ihelpuoo.weboo.exception;

public class DispathException extends Exception
{

	private static final long	serialVersionUID	= 2707181927437951822L;

	public DispathException()
	{
		super();
	}

	public DispathException(String message, Throwable cause)
	{
		super(message,cause);
	}

	public DispathException(String message)
	{
		super(message);
	}

	public DispathException(Throwable cause)
	{
		super(cause);
	}

	public static DispathException wrap(Throwable e)
	{
		if (e instanceof DispathException)
			return (DispathException)e;
		return new DispathException(e);
	}

}
